package Main;

import java.util.Scanner;
import App.Response;

public class Main {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		Response resp = new Response();
		String input;
		
		do {
			System.out.print("Digite sua pergunta ou S para sair: ");
			Scanner scanner = new Scanner( System.in );
			input = scanner.nextLine();
			
			if (!input.equals("S") )
				System.out.println(resp.generateResponse(input));
			
		} while (!input.equals("S") )  ;
		
		System.out.print("Bye!");
	}

}
